package com.xebest.web.service;

import com.xebest.web.model.XeVenSummaryPurchEntity;

import java.util.List;
import java.util.Map;

/**
 * Created by xebest on 2017/8/4.
 */
public interface XeVenSummaryPurchService {
    /**
     * @author: ruancz
     * 插入采购订单关联
     * @param xeVenSummaryPurchEntity
     * @return
     */
    int insertXeVenSummaryPurch (XeVenSummaryPurchEntity xeVenSummaryPurchEntity);

    /**
     * @author: ruancz
     * 修改采购订单关联
     * @param params
     * @return
     */
    int updateXeVenSummaryPurch (Map<String,Object> params);

    /**
     * @author: ruancz
     *查询采购订单关联表
     * @param orderId
     */
    List<Map<String,Object>> queryOrderListByParams(Map<String, Object> params);

    /**
     * @author: ruancz
     *  批量插入采购订单关联表
     * @param summaryPurchList
     */
    int insertBatchXeVenSummaryPurch(List<XeVenSummaryPurchEntity> summaryPurchList);

    int queryExistsSumPurchByParams(Map<String, Object> params);
}
